<template>
  <div class="son">
    <h2>这是儿子组件</h2>
    <Child/>
  </div>
</template>

<script>
import Child from "@/components/Child";

export default {
  name: "Son",
  components: {Child}
}
</script>

<style scoped>
.son {
  background-color: orange;
  padding: 10px;
}
</style>